package com.moblie.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.moblie.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 描述:
 *
 * @author 景远超
 * @create 2020-05-30 10:03
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @Reference
    private TestService testService;
    @RequestMapping("/hello")
    public String test1(){
        return  testService.test();
    }
}
